projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbe7e64
)
Fix compiler warnings when using '-Wall'.
author
oliskoli
<oliskoli>
Wed, 12 Jul 2006 20:31:16 +0000
(20:31 +0000)
committer
oliskoli
<oliskoli>
Wed, 12 Jul 2006 20:31:16 +0000
(20:31 +0000)
gdb.c
patch
|
blob
|
history
diff --git
a/gdb.c
b/gdb.c
index c05ebbf1d8e59e0684fb0a47c212651f8d92ad0d..7d04fce2ead54e2cf98f9602ad6262cc6a868fa6 100644
(file)
--- a/
gdb.c
+++ b/
gdb.c
@@
-1631,7
+1631,7
@@
gdb_init_opts(const char op) /* 1 = read; 2 = write */
gdb_category = atoi(gdb_opt_category);
if ((gdb_category < 1) || (gdb_category > 16))
fatal(MYNAME ": Unsupported category \"%s\"!\n", gdb_opt_category);
- gdb_category = 1 <<
--gdb_category
;
+ gdb_category = 1 <<
(gdb_category - 1)
;
}
gdb_ver = atoi(gdb_opt_ver);